]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
authPrompt: Fix cancel button visibility
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 18 Feb 2020 21:23:26 +0000 (22:23 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 18 Feb 2020 21:34:16 +0000 (21:34 +0000)
Grrr, this slipped in in 5cad5c20e9f, and we don't have a compiler
to catch those kinds of bugs :-(

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2228

js/gdm/authPrompt.js

index 8624d17f41de516b7859c445c02674e718bc6f4e..8cb1f305c98dae941e987e4f47aca9df92558502 100644 (file)
@@ -81,7 +81,7 @@ var AuthPrompt = GObject.registerClass({
         });
         this.add_child(this._userWell);
 
-        this._hasCancelButton = this._mode === AuthPromptStatus.UNLOCK_OR_LOG_IN;
+        this._hasCancelButton = this._mode === AuthPromptMode.UNLOCK_OR_LOG_IN;
 
         this._initEntryRow();